<template>
  <el-row class="header">
    <el-col :span="2"   >
      <el-row :gutter="10">
        <el-col :span="3">
          <el-button class="btn" @click="dialogFormVisible=true">添加记录</el-button>
        </el-col>
      </el-row>
    </el-col>
  </el-row>

  <!-- 添加卫生检查记录 -->
  <AddSanitaryDialog v-model:dialogFormVisible="dialogFormVisible"/>
</template>

<script setup>
import AddSanitaryDialog from "../dialog/AddSanitaryDialog.vue";
import { ref } from "vue";

const $emit = defineEmits(["ser-res"]);

const dialogFormVisible=ref(false)

</script>

<style scoped lang="sass">
.header
  margin-bottom: 20px
.el-input
  width: 100px
.btn
  background: rgb(0,202,237)
  color: #ffff
</style>
